<% form_for :picture, :html => { :multipart => true} do |form| %>
	<fieldset>
		<legend>Upload zdjęcia</legend>
		
		<%= error_messages_for "picture" %>
		
		<div class="row">
			<label for="title">Tytuł:</label>
			<%= form.text_field :title, :size => 30, :maxlength => 30 %>
		</div>
		<div class="row">
			<label for="image">Zdjęcie:</label>
			<%= form.file_field :image %>
		</div>
		<div class="row">
			<label for="desciption">Opis:</label>
			<%= form.text_area :description, :rows => 5 %>
		</div>
		<div class="row">
			<%= submit_tag "Wyślij!", :class => "submit" %>
		</div>
	</fieldset>
<% end %>